package com.yungu.swift.socket.communication.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.socket.communication.message.UploadLocationJsonMessage;
import com.yungu.swift.socket.communication.message.UploadLocationMessage;

import java.util.Map;


/**
 * 登录业务接口
 *
 * @author cuixiuyin
 * @date 2018/12/14
 */
public interface UploadLocationService {
    /**
     * 上传单点位置
     *
     * @param uploadLocationMessage 位置报文
     * @return AjaxList
     */
    ResponseData<Map<String, Object>> uploadDriverLocation(UploadLocationMessage uploadLocationMessage);


    /**
     * 上传多点位置
     *
     * @param uploadLocationJsonMessage 参数
     * @return AjaxList
     */
    ResponseData<String[]> uploadDriverLocations(UploadLocationJsonMessage uploadLocationJsonMessage);

}
